<%@ taglib prefix="s" uri="/struts-tags"%>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>RSS Agregator</title>
        <link href="stylesheets/common.css" rel="stylesheet" type="text/css" />
        <link type="text/css" href="<s:url value="/stylesheets/basic.css" />" rel="stylesheet" media="screen" />
    </head>
    <body>
        <jsp:include page="header.jsp"/>
        <!-- Start Main Content -->
        <div id="main" class="container">
        	<div id="leftcolumn">
			    <div id="basic-modal">
			        <h3 class="leftbox">Sign in</h3>
			        <s:if test="errorLoginMessage != ''">
			        	<div id="errorLoginMessage" align="left" class="errormessage">${errorLoginMessage}</div>
			        </s:if>
					<s:form action="login.action">
						<s:textfield id="username" name="username" value="" label="UserName" size="" />
						<s:password id="password" name="password" value="" label="Password" size="" />
						<s:submit label="login" value="login" align="left"/>
					</s:form>
			    </div>
			</div>
			<div id="center" style="padding: 0 100px; float:right;">
            	<div id="basic-modal">
            		<s:if test="errorRegisterMessage != ''">
			        	<div id="errorRegisterMessage" align="left" class="errormessage">${errorRegisterMessage}</div>
			        </s:if>
            	
			        <h3 class="leftbox">New Account</h3>
					<s:form action="new-account.action">
						<s:textfield id="username" name="username" value="" label="UserName" size="" />
						<s:password id="password" name="password" value="" label="Password" size="" />
						<s:textfield id="firstname" name="firstname" value="" label="First Name" size="" />
						<s:textfield id="lastname" name="lastname" value="" label="Last Name" size="" />
						<s:textfield id="email" name="email" value="" label="Email" size="" />
						<s:submit label="createaccount" value="create account" align="left" />
					</s:form>
			    </div>
           	</div>
		</div>
	</body>
</html>